home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 247_02 / msdoit.bat < prev    next >
DOS Batch File  |  1989-04-17  |  3KB  |  123 lines

  1. rem MIRACL - IBM PC/MS-DOS Version 2.0
  2. rem This batch files creates miracl.lib from its component parts
  3. rem using the Microsoft v3.0/v4.0 compiler, the Microsoft
  4. rem Macro assembler and the Microsoft LIB librarian utility
  5. rem Also included are the commands to create all the example programs
  6. rem using the Microsoft LINK utility
  7. rem
  8. rem Read your compiler documentation for further information
  9. rem 
  10. rem Invoke as "msdoit". It is assumed that paths have been correctly set up to
  11. rem the compiler, macro assembler, librarian and linker.
  12. rem
  13. rem Note - use with care. There is insufficient space for all of the files
  14. rem created by this batch file on the distribution diskette alone.
  15. rem
  16. rem Provided mainly as a guide for creating a batch file tailored
  17. rem specifically to your own configuration.
  18. rem
  19. rem On a diskette based system these commands should be executed manually,
  20. rem changing diskettes as necessary
  21. rem
  22. rem Compile MIRACL modules
  23. msc bncore;
  24. msc bnarth0;
  25. msc bnarth1;
  26. msc bnarth2;
  27. msc bnsmall;
  28. msc bnround;
  29. msc bnio1;
  30. msc bnio2;
  31. msc bngcd;
  32. msc bnxgcd;
  33. msc bnarth3;
  34. msc bnrand;
  35. msc bnprime;
  36. msc bnflash;
  37. msc bndouble;
  38. msc bnbuild;
  39. msc bnflsh1;
  40. msc bnpi;
  41. msc bnflsh2;
  42. msc bnflsh3;
  43. msc bnflsh4;
  44. rem 
  45. rem Assemble bnmuldv.c
  46. masm bnmuldv.c;                 /* masm/r bnmuldv.c for 8087 version */
  47. rem
  48. rem Create library 'miracl.lib'
  49. del miracl.lib
  50. lib miracl;
  51. lib miracl +bnflsh4+bnflsh3+bnflsh2+bnpi+bnflsh1;
  52. lib miracl +bnio2+bnio1+bndouble+bnflash+bnrand+bnprime;
  53. lib miracl +bnxgcd+bngcd+bnround+bnbuild+bnarth3+bnarth2+bnarth1+bnarth0;
  54. lib miracl +bnsmall+bncore+bnmuldv;
  55. del bn*.obj
  56. rem
  57. rem Compile and link example programs
  58. msc brute;
  59. link brute,,,miracl;
  60. del brute.obj
  61. msc mersenne;
  62. link mersenne,,,miracl;
  63. del mersenne.obj
  64. msc rsakey;
  65. link rsakey,,,miracl;
  66. del rsakey.obj
  67. msc encode;
  68. link encode,,,miracl;
  69. del encode.obj
  70. msc decode;
  71. link decode,,,miracl;
  72. del decode.obj
  73. msc okakey;
  74. link okakey,,,miracl;
  75. del okakey.obj
  76. msc enciph;
  77. link enciph,,,miracl;
  78. del enciph.obj
  79. msc deciph;
  80. link deciph,,,miracl;
  81. del deciph.obj
  82. msc pi;
  83. link pi,,,miracl;
  84. del pi.obj
  85. msc sample;
  86. link sample,,,miracl;
  87. del sample.obj
  88. msc roots;
  89. link roots,,,miracl;
  90. del roots.obj
  91. msc hilbert;
  92. link hilbert,,,miracl;
  93. del hilbert.obj
  94. msc brent;
  95. link brent,,,miracl;
  96. del brent.obj
  97. msc pollard;
  98. link pollard,,,miracl;
  99. del pollard.obj
  100. msc williams;
  101. link williams,,,miracl;
  102. del williams.obj
  103. msc lenstra;
  104. link lenstra,,,miracl;
  105. del lenstra.obj
  106. msc qsieve;
  107. link qsieve,,,miracl;
  108. del qsieve.obj
  109. msc fact;
  110. link fact,,,miracl;
  111. del fact.obj
  112. msc palin;
  113. link palin,,,miracl;
  114. del palin.obj
  115. msc hail;
  116. link hail,,,miracl;
  117. del hail.obj
  118. msc ratcalc;
  119. link ratcalc,,,miracl;
  120. del ratcalc.obj
  121. del *.map
  122.  
  123.